package com.beamfield.dao.process;

import com.beamfield.model.ProcReviewer;
import com.beamfield.modelVo.ProcReviewerVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ProcReviewerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProcReviewer record);

    int insertSelective(ProcReviewer record);

    ProcReviewer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProcReviewer record);

    int updateByPrimaryKey(ProcReviewer record);

    List<ProcReviewerVo> select(@Param("beamId") Long beamId, @Param("offset") String offset, @Param("limit") String limit);

    long count(@Param("beamId") Long beamId);

    List<ProcReviewer> selectByEcodeAndStep(@Param("ecode") String ecode, @Param("step") Integer step, @Param("beamId") Long beamId,@Param("seq") Integer seq);
}